SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 54685: Error "java.lang.NullPointerException" might be generated when attempting to view competitor prices in SAS® Regular Price Optimization

DetailsHotfixAboutRate It

The following exception might be generated when attempting to view competitor prices in SAS Regular Price Optimization:

java.lang.NullPointerException at com.sas.solutions.di.server.competitor.CompetitorServiceImpl.getCompetitorPricesSummary(CompetitorServiceImpl.java:1076) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:77) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy1037.getCompetitorPricesSummary(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:205) at org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:38) at com.sas.solutions.di.server.spring.SessionRemoteInvocationExecutor.invokeSuper(SessionRemoteInvocationExecutor.java:69) at com.sas.solutions.di.server.spring.SpringServer$SpringPrivateInvoker.privateInvoke(SpringServer.java:145) at com.sas.solutions.di.server.util.Interceptors.privateInvoke(Interceptors.java:167) at com.sas.solutions.di.server.spring.SpringServer.invoke(SpringServer.java:170) ...

The exception is generated when GEO_PROD_AGG.CURR_UNIT_PRICE_MIN, GEO_PROD_AGG.CURR_UNIT_PRICE_MAX, GEO_PROD_AGG.LAST_REGULAR_PRICE_MIN, or GEO_PROD_AGG.LAST_REGULAR_PRICE_MAX have missing values for the selected product-locations.

There is no workaround for this issue.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Regular Price OptimizationMicrosoft® Windows® for x645.2_M45.49.3 TS1M29.4 TS1M3
Linux for x645.2_M45.49.3 TS1M29.4 TS1M3
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.